﻿
namespace Cos.Module.CMS.NHibernate.Test
{
    using System.Collections.Generic;

    using Cos.Core.NHibernate;
    using Cos.Core.NHibernate.Tests;

    using NUnit.Framework;

    [TestFixture]
    public class VideoDataModelFixture : ModuleFixtureBase
    {
        [Test]
        public void CanMapVideoDataModel()
        {
            new PersistenceSpecification<VideoDataModel>(Session)
                .CheckProperty(x => x.IsExternal, true)
                .CheckProperty(x => x.OriginalCultureCode, "12345")
                //.CheckComponentList(x => x.VideoCultures, new List<VideoCultureDataModel>())
                //.CheckComponentList(x => x.VideoTags, new List<VideoTagDataModel>())
                .VerifyTheMappings();
        }
    }
}
